#ifndef SINGLE
//  An adapted ObjectSpace example for use with SGI STL

#include <algo.h>
#include <iostream.h>

#ifdef MAIN
#define remcopy1_test main
#endif
#endif
int remcopy1_test(int, char**)
{
  cout<<"Results of remcopy1_test:"<<endl;
#ifndef ACORN_CFRONT
int numbers[6] = { 1, 2, 3, 1, 2, 3 };
int result[6] = { 0, 0, 0, 0, 0, 0 };
#else
static int numbers[6] = { 1, 2, 3, 1, 2, 3 };
static int result[6] = { 0, 0, 0, 0, 0, 0 };
#endif

  remove_copy(numbers, numbers + 6, result, 2);
  for(int i = 0; i < 6; i++)
    cout << result[i] << ' ';
  cout << endl;
  return 0;
}
